package com.woniuxy.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * @TableName t_news_article
 */
@TableName(value ="t_news_article")
@Data
public class NewsArticle implements Serializable {
    private Integer id;

    private Integer typeId;

    private String title;

    private String thumbnail;

    private String source;

    private String author;

    private String content;

    private Integer readCount;

    private Integer commentCount;

    private Integer shareCount;

    private Date publishTime;

    private Integer topLevel;

    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    private Date updateTime;

    private String remark;

    private static final long serialVersionUID = 1L;
}
